<?xml version="1.0" encoding="utf-8"?>

<xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

  <xsl:template match="/">
    <html>
      <body>
        <!--
            This is an XSLT template file. Fill in this area with the
            XSL elements which will transform your XML to XHTML.
        -->
        <h2>Member List</h2>
        <table style="border: solid 1px #CDCDCD;">
          <tr bgcolor="#9acd32">
            <th width="50px">ID</th>
            <th width="200px">Fullname</th>
            <th>Mobile</th>
            <td>Born in</td>
          </tr>
          <xsl:apply-templates></xsl:apply-templates>
        </table>
      </body>
    </html>
  </xsl:template>

  <xsl:template match="member">
    <tr>
      <td>
        <xsl:value-of select="@id"/>
      </td>
      <td>
        <xsl:value-of select="fullname"/>
      </td>
      <td>
        <xsl:value-of select="mobile"/>
      </td>
      <td>
        <xsl:value-of select="born"/>
      </td>
    </tr>
  </xsl:template>

</xsl:stylesheet>
